﻿#ifndef HTTPCONTROLLER_H
#define HTTPCONTROLLER_H

#include <QObject>
#include <httprequest.h>
#include <httpresponse.h>
namespace stefanfrings {

class HttpController : public QObject
{
    Q_OBJECT
public:
    explicit HttpController(QObject *parent = nullptr);
    ~HttpController();

    virtual void route(QString path,QString method,HttpRequest& request, HttpResponse& response) = 0;
};

}
#endif // HTTPCONTROLLER_H
